import request from '@/utils/request'

export default {
  //查询banner数据
  getCourseAndTeacher() {
    return request({
      url: `/api/courses/getTeacherAndCourseList`,
      method: 'get'
    })
  },

  // 获取用户信息
  getUserInfo() {
    return request({
      url: `/api/users/getUserInfo`,
      method: 'get'
    })
  }
}
